package com.hzjq.core.worker

import com.hzjq.core.bean.CapEntity
import com.hzjq.core.bean.ErrorCapEntity
import com.hzjq.core.bean.ErrorReadCapEntity
import com.hzjq.core.callback.ProgressCallback
import com.hzjq.core.util.ErrorChecker

class AuthErrorReadCapWork : ErrorReadWork {

    constructor(callback: ProgressCallback<ErrorReadCapEntity>?) : super(callback)

    override fun checkCapError(cap: CapEntity): ErrorCapEntity? {
        return ErrorChecker.checkAuth(cap)
    }


}